package adapter;

public class Customer {

    public static void main(String[] args) {

        Computer computer = new Computer();
        Ethernet ethernet = new Ethernet();
        AdapterOne adapterOne = new AdapterOne();
        AdapterTwo adapterTwo = new AdapterTwo();


        computer.net(adapterOne);

        System.out.println("=============快乐的分割线===============");

        computer.net(adapterTwo);


    }
}
